<template>
  <div>
   <!-- 文本信息 -->
   <span :style="patter">{{text}}</span>
  </div>
</template>
<script setup lang="ts">
import{defineProps} from 'vue'
const props =defineProps({
  text:String,
  patter:Object
})
console.log(props.text)
</script>
<style scoped></style>